package com.xkstream.client.presenter.kt

import com.xkstream.client.base.BaseData
import com.xkstream.client.base.BasePresenter
import com.xkstream.client.base.BaseView
import com.xkstream.client.entity.kt.CommentListData

/**
 * Created by xiaoyi on 2017-11-4.
 */
interface MyZoneDetailContract {
    interface Presenter : BasePresenter {
        fun getCommentList(params: Map<String, String>)

        fun publishComment(params: Map<String, String>)

        fun blogUpVote(params: Map<String, String>)

        fun deleteBlog(params: Map<String, String>)

    }

    interface View : BaseView<Presenter> {
        fun showError(message: String)

        fun showCommentResult(data: BaseData<Any?>)


        fun commentList(t: BaseData<CommentListData?>)

        fun showUpVoteResult(t: BaseData<Any?>)

        fun showDeleteBlogResult(t:BaseData<Any?>)

    }
}